home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / icon_utl / exicon / readme.txt < prev   
Text File  |  1994-03-22  |  3KB  |  97 lines

  1. ********************************************************************
  2.  
  3. Files included in exicon.exe
  4.  
  5. 1. readme.txt   - this file
  6. 2. exticons.exe - the executable, for users who aren't programmers
  7. 3. exticons.frm - the main & only form/module
  8. 4. exticons.frx - contains the forms' icon
  9. 5. exticons.mak - the VB make file
  10.  
  11. If you don't have VB 3.0, you will need VBRUN300.DLL just to run the
  12. program.  Get it from the lib's in the MSBASIC forum on CompuServe.
  13. (Search for VBRUN3.EXE)
  14.  
  15. ********************************************************************
  16.  
  17. *** Description ***
  18.  
  19. EXTICONS extracts all icons from one or more Source files (.exe's, .dll's,
  20. .vbx's, .drv's, & possibly other file types) to individual icon files in a
  21. user selected directory, giving each icon file a unique name based on the 
  22. name of the source file.
  23.  
  24. It can search recursively through subdirectories, extracting all icons
  25. in all files.
  26.  
  27. **********************************************************************
  28.  
  29. Example 1:
  30.  
  31. Source File = c:\win31\moricons.dll
  32. Destination Directory = c:\exticons
  33.  
  34. Search Subdirectories not checked
  35.      
  36. ===>  Extracts all icons from moricons.dll and saves them in directory
  37.       c:\exticons with file names moric001.ico, moric002.ico, etc.
  38.  
  39. ***********************************************************************
  40.  
  41. Example 2:
  42.  
  43. Source File = c:\*.*
  44. Destination Directory = c:\exticons
  45.  
  46. Search Subdirectories checked
  47.  
  48. ===> Extracts all icons from all files in all directories on drive c:
  49.  
  50. *********************************************************************** 
  51.  
  52. *** Interesting/useful techniques for programmers: ***
  53.  
  54. 1. It's my impression that most icon extracting programs use the BitBlt 
  55.    function, a la IconWorks (the icon editor that comes with VB).  This
  56.    program doesn't.  Check out the vbIconCopy subroutine to see how it's 
  57.    done using the hmemcpy, GlobalLock, & GlobalUnlock Win API functions.
  58.    I discovered this technique myself.  Maybe others have come up with
  59.    something similar, but I've not seen anything like it mentioned
  60.    elsewhere.
  61.    
  62. 2. See the SearchSubdirectories subroutine if you are interested in a 
  63.    routine for (DUH!) searching subdirectories recursively.
  64.  
  65. ***********************************************************************
  66.  
  67. *** Limitations: ***
  68.  
  69. 1. uses hmemcpy API, so it requires Windows 3.1 - won't work with Windows 3.0
  70.  
  71. 2. can't extract monochrome (2 color) icons - (I seem to have encountered
  72.    about a dozen on 2 hard disks and 1 CD)
  73.  
  74. 3. it doesn't extract icons from *.ico files.  I didn't see any sense in doing
  75.    so, but if you want it to, just comment out a couple of lines in one 
  76.    subroutine (I'll let you track them down.)
  77.  
  78. ***********************************************************************
  79.  
  80. *** Request ***
  81.  
  82. I've been able to test the program on 16 and 256 color video drivers.
  83. I would like to know if it works with 32k/64k/16m color drivers.
  84.  
  85. If you use such drivers, could you post a message to the MSBASIC forum
  86. on CompuServe informing me of either success or failure?
  87.  
  88. Email might be better, just in case I get a lot more responses than I
  89. actually expect.
  90.  
  91. Thanks much,
  92. Hope you find it useful
  93.  
  94. Charles Mulks, 70612,1117         (CompuServe)
  95.                21667cfm@msu.edu   (Internet)
  96.  
  97.